/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.gitee.minimalismstyle.fresh.simple.api.model

import com.gitee.minimalismstyle.fresh.common.data.beetl.model.LongModel
import io.swagger.annotations.*


/**
 * 列表列定义Dto
 * @author maoxiaodong
*/
@ApiModel(value = "列表列定义")
open class SimpleListField: LongModel(){

    /**
    * 代码
    */
    @ApiModelProperty(value = "代码")
    var code: String? = null

    /**
    * 列名
    */
    @ApiModelProperty(value = "列名")
    var column: String? = null

    /**
    * 名称
    */
    @ApiModelProperty(value = "名称")
    var name: String? = null

    /**
    * 默认值
    */
    @ApiModelProperty(value = "默认值")
    var value: String? = null

    /**
    * 单击事件
    */
    @ApiModelProperty(value = "单击事件")
    var click: String? = null

    /**
    * 值类型
    */
    @ApiModelProperty(value = "值类型")
    var type: String? = null

    /**
    * 宽度
    */
    @ApiModelProperty(value = "宽度")
    var width: String? = null

    /**
    * 类样式名
    */
    @ApiModelProperty(value = "类样式名")
    var className: String? = null

    /**
    * 合并列数
    */
    @ApiModelProperty(value = "合并列数")
    var colSpan: Int? = null

    /**
    * 权限值
    */
    @ApiModelProperty(value = "权限值")
    var acl: String? = null

    /**
    * 列表ID
    */
    @ApiModelProperty(value = "列表ID")
    var listId: Long? = null

    /**
    * 操作ID
    */
    @ApiModelProperty(value = "操作ID")
    var actionId: Long? = null

    /**
    * 国际化代码
    */
    @ApiModelProperty(value = "国际化代码")
    var i18n: String? = null

    /**
     * 关键字搜索
     */
    @ApiModelProperty(value = "关键字搜索")
    var keywordFlag: String? = null

    /**
     * 格式化
     */
    @ApiModelProperty(value = "格式化")
    var format: String? = null

    /**
     * 格式
     */
    @ApiModelProperty(value = "格式")
    var pattern: String? = null

    /**
     * 是否排序
     */
    @ApiModelProperty(value = "是否排序")
    var sortFlag: String? = null

    /**
     * 固定
     */
    @ApiModelProperty(value = "固定")
    var fixed: String? = null

    /**
     * 对齐
     */
    @ApiModelProperty(value = "对齐")
    var align: String? = null

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    var sort: Int? = null
}